home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DDJMAG / DDJ8801.ZIP / NARO.ZIP / DEMO.CFG < prev    next >
Text File  |  1987-09-15  |  764b  |  23 lines

  1. ;
  2. ;    This is a sample configuration file for Turbo C 1.0
  3. ;    Copyright (C) Recycled Software 1987.  All rights reserved.
  4. ;
  5. ;    It makes the C program DEMO ROMable by making a copy of
  6. ;    the initialized data, placing it after the program code and
  7. ;    having the startup code copy the data from ROM to RAM
  8. ;    following a reset.
  9. ;
  10.  
  11. dup    DATA NEWDATA            ; Make a copy of the initialized data
  12.  
  13. class    CODE = 0xfc00            ; Assume ROM at FC000h
  14. class    STACK = 0x0040            ; Assume a stack at address 00400h
  15. class    DATA = 0x0050            ; And the program data at 00500h
  16.  
  17. order    DATA BSS BSSEND            ; Recreate DGROUP
  18. order    CODE CODEEND NEWDATA        ; Place the initialized data after
  19.                     ; the program code
  20.  
  21. rom    CODE NEWDATA            ; ROM only the program and the
  22.                     ; initialized data
  23.